﻿using mozhi.smarterp.BasicData.Enums;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Volo.Abp.Application.Dtos;

namespace mozhi.smarterp.BasicData.PaymentTerms
{
    public class PaymentTermUpdateDto : EntityDto<Guid>
    {
        [Required]
        public string Code { get; set; }

        [Required]
        public string Name { get; set; }

        [Required]
        public bool Activated { get; set; }

        [Required]
        public PaymentTermBasisType BasisType { get; set; }

        [Required]
        public int Days { get; set; }

        [Required]
        public PaymentTermType Type { get; set; }
    }
}
